<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('单据查询列表')" />
	<th:block th:include="include :: list-css" />
</head>
<body class="no-skin">
<script th:inline="javascript">
    /*<![CDATA[*/
    var gridColumns = [[${gridColumns}]],
		importFields = [[${importFields}]],
		business = [[${business}]],
		businessName = gridColumns.moduleAlias,
		moduleTable = [[${moduleTable}]],
		buttonState = [[${buttonState}]],
		passwordAuthentication = [[${passwordAuthentication}]],
		session = [[${session}]];
    /*]]>*/
    var tableUrl,openRowUrl,exportUrl;
    var prefix = "/business/"+business;
    switch(business){
    	case 'customer':
    	case 'provider':
    		tableUrl = "/crm/"+business+"/list?deleted=0";
   			break;
   		default:
   			tableUrl = "/business/"+business+"/list";
	    	openRowUrl = "/business/"+(business.split('/')[1]?business.split('/')[0]:business)+"/edit?nid=";
	    	exportUrl = "/business/"+business+"/export";
   			break;
    }
</script>
<th:block th:include="listinclude :: container" />
<th:block th:include="include :: footer" />
<th:block th:include="include :: businessJS" />
<th:block th:include="include :: tableBtn" />
<th:block th:include="include :: searchJS" />
<th:block th:include="include :: listJS" />
<th:block th:include="listinclude :: list-templeat" />
</body>
</html>
